import VueRouter from "vue-router";
import home from "./components/home.vue";
import play from "./components/play.vue";
import vip from "./components/vip.vue";
import shftware from "./components/shftware.vue";
import control from "./components/control.vue";
import login from "./components/control/login/login.vue";
import set from "./components/control/set.vue";
import logins from "./components/control/login/logins.vue";
import forget from "./components/control/login/forget_pwd.vue";
import home1 from "./components/control/home/home1.vue";
import home2 from "./components/control/home/home2.vue";


let router  = new VueRouter({
    routes :[
        {path:"/",redirect:"/home"},
        {path:"/home",component:home},
        {path:"/play",component:play},
        {path:"/vip",component:vip},
        {path:"/shftware",component:shftware},
        {path:"/control",component:control},
        {path:"/control/login/login",component:login},
        {path:"/control/set",component:set},
        {path:"/control/login/logins",component:logins},
        {path:"/control/login/forget_pwd",component:forget},
        {path:"/home/:id",component:home1},
        {path:"/home2/:id",component:home2},
    ],
    linkActiveClass:"mui-active"
})

export default router;